package com.woniu.common.utils.messageUtil;

import java.util.Random;

public class RandomCode {
    public static String getRandomCode() {
        //生产验证码
        Random random = new Random();
        int min = 100000;
        int max = 999999;
        Integer code = random.nextInt(max - min + 1) + min;
        return code.toString();
    }
}
